import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';

import { AttacheRoutes } from './attache.routes';

import { LoginComponent } from './login/login.component';
import { RegistComponent } from './regist/regist.component';
import { AttacheMainComponent } from './attache-main/attache-main.component';
import { PersonalComponent } from './personal/personal.component';
import { HomeComponent } from './home/home.component';
import { FossickComponent } from './fossick/fossick.component';
import { OrderComponent } from './order/order.component';
import { NavComponent } from './nav/nav.component';
import { ScreenComponent } from './screen/screen.component';
import { OrderDetailsComponent } from './order-details/order-details.component';
import { CertificationComponent } from './certification/certification.component';
import { PayComponent } from './pay/pay.component';
import { AttacheService } from './attache.service';
import { PasswordComponent } from './password/password.component';
import { PayRecordComponent } from './pay-record/pay-record.component';



@NgModule({
  declarations: [
    LoginComponent,
    RegistComponent,
    AttacheMainComponent,
    PersonalComponent,
    HomeComponent,
    FossickComponent,
    OrderComponent,
    AttacheMainComponent,
    NavComponent,
    ScreenComponent,
    OrderDetailsComponent,
    CertificationComponent,
    PayComponent,
    PasswordComponent,
    PayRecordComponent
  ],
  providers: [
    AttacheService
  ],
  imports: [
    CommonModule,
    FormsModule,
    RouterModule.forChild(AttacheRoutes)
  ],
  exports: [
    AttacheMainComponent
  ]
})
export class AttacheModule { }
